/// 用户过滤内容查询请求模型
/// 对应API接口：/users/filtered_content/
class UserFilteredContentRequest {
  final int userId;
  final String contentType; // "activities" 或 "comments"
  final int timestamp;

  UserFilteredContentRequest({
    required this.userId,
    required this.contentType,
    int? timestamp,
  }) : timestamp = timestamp ?? DateTime.now().millisecondsSinceEpoch ~/ 1000;

  Map<String, dynamic> toJson() {
    return {
      'userId': userId,
      'content_type': contentType,
      'timestamp': timestamp,
    };
  }
}
